package com.xbongbong.admin.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author 吴峰
 * @date 2021/06/30 20:49
 */
@Getter
@Setter
@ToString
public class MirrorConfigListPojo implements Serializable {
    private static final long serialVersionUID = 3120702414241853965L;

    /**
     * 主键id
     */
    private Long id;
    /**
     * 名称
     */
    private String name;
    /**
     * 类型（应用级application/全局all）
     */
    private String type;
    /**
     * 发布来源：后台：admin；pro管理中心：pro
     */
    private String createSource;
    /**
     * 行业标签id, 数组 [标签id,标签id]
     */
    private String labelId;
    /**
     * 目标公司id
     */
    private String targetCorpid;
    /**
     * 目标公司名称
     */
    private String targetCorpName;
    /**
     * 目标应用id
     */
    private Long targetAppId;
    /**
     * 目标应用名称
     */
    private String targetAppName;
    /**
     * 发布到价值攻略 0：未发布，1：已发布 2：下架
     */
    private Integer publishRaiders;
    /**
     * 发布到模板中心 0：未发布，1：已发布 2：下架
     */
    private Integer publishModuleCenter;
    /**
     * 创建者id
     */
    private String creatorId;
    /**
     * 创建时间时间戳
     */
    private Long addTime;
    /**
     * 更新时间时间戳
     */
    private Long updateTime;
    /**
     * 删除标记
     */
    private Integer del;

    /**
     * 图标
     */
    private String icon;

    /**
     * 颜色，16进制色，如 FF0000
     */
    private String color;

    /**
     * 鏡像简介
     */
    private String summary;

    /**
     * 表单id，json数组[表单id,表单id]
     */
    private String targetFormIds;
    /**
     * 表单名称，json数组[表单名称,表单名称]
     */
    private String targetFormNames;
    /**
     * 标识Saas应用还是Paas应用
     */
    private Integer saasMark;

    public MirrorConfigListPojo() {
    }

    public MirrorConfigListPojo(Long id, String name, String type, String createSource, String labelId,
                                String targetCorpid, String targetCorpName, Long targetAppId, String targetAppName, Integer publishRaiders, Integer publishModuleCenter, String creatorId, Long addTime, Long updateTime, Integer del, String icon, String color, String summary, String targetFormIds, String targetFormNames, Integer saasMark) {
        this.id = id;
        this.name = name;
        this.type = type;
        this.createSource = createSource;
        this.labelId = labelId;
        this.targetCorpid = targetCorpid;
        this.targetCorpName = targetCorpName;
        this.targetAppId = targetAppId;
        this.targetAppName = targetAppName;
        this.publishRaiders = publishRaiders;
        this.publishModuleCenter = publishModuleCenter;
        this.creatorId = creatorId;
        this.addTime = addTime;
        this.updateTime = updateTime;
        this.del = del;
        this.icon = icon;
        this.color = color;
        this.summary = summary;
        this.targetFormIds = targetFormIds;
        this.targetFormNames = targetFormNames;
        this.saasMark = saasMark;
    }
}
